package cn.koala.key.complaint.entity.enums;

import cn.koala.key.common.enums.HasCaption;
import cn.koala.key.common.enums.HasCode;

/**
 * @author 38752
 */
public enum ComplaintOrderStatesEnum implements HasCode, HasCaption {

    // 客诉单号状态
    PENDING(1, "待处理"),
    IN_PROCESS(2, "处理中"),
    CITY_MANAGER_REVIEWER(3, "待区域经理审核"),
    OPERATOR_REVIEWER(4, "待运营审核"),
    CITY_MANAGER_REFUSE(5, "区域经理已拒绝"),
    OPERATOR_REFUSE(6, "运营已拒绝"),
    CLOSE(7, "关闭"),
    ;

    private Integer code;

    private String caption;

    ComplaintOrderStatesEnum(Integer code, String caption) {
        this.code = code;
        this.caption = caption;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getCaption() {
        return caption;
    }
}
